div.yg-detail {
    background: #fff;
    height: 100vh;

    .yg-detail-nav {
        background: var(--themeColor);
        color: #fff;

        .am-navbar-title {
            color: #fff;

        }
    }

    div.yg-detail-swiper {
        height: 6.666667rem !important;
        width: 100% !important;

        div.imageWrapper {
            text-align: center;
            height: 6.666667rem !important;

            img {
                height: 100% !important;
                width: 80% !important;
            }

        }
    }

    div.yg-detail-price {
        height: 0.8rem;
        width: 100%;
        padding: 0.133333rem;
        display: flex;
        justify-content: space-between;
        align-items: center;

        div.price-left {
            span.title1 {
                color: var(--themeColor);
                font-size: 0.533333rem;
            }
        }

        div.price-right {
            display: flex;
            align-items: center;

            i.iconfont.icon-fenxiang {
                margin-right: 0.266667rem;
            }

            i.iconfont.icon-shoucang {
                margin-right: 0.266667rem;


            }
            .active{
                color:var(--themeColor)
            }
        }
    }

    .yg-detail-title {
        height: 1.066667rem;
        padding: 0 0.266667rem;
        font-size: 0.426667rem;
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    div.yg-detail-richtext {
        text-align: center;
        margin-bottom: 0.8rem;

        div.richtext-title {
            height: 0.8rem;
            line-height: 0.8rem;
            font-size: 0.426667rem;
        }

    }


    div.yg-detail-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        display: flex;
        justify-content: space-between;
        height: 1.333333rem;
        align-items: center;
        text-align: center;

        div.bottom-contact {
            flex: 1;

            i.iconfont.icon-lianxikefu {}

            div.title {}

        }

        div.bottom-cart {
            flex: 1;

            i.iconfont.icon-gouwuche {}

            div.title {}
        }

        div.bottom-addToCart {
            flex: 2;
            display: flex;
            align-items: center;
            justify-content: center;

            span.title1 {
                height: 0.8rem;
                border-radius: 0.4rem;
                line-height: 0.8rem;
                width: 2.133333rem;
                color: #fff;
                background: #fcaa23
            }
        }

        div.bottom-buy {
            flex: 2;
            display: flex;
            align-items: center;
            justify-content: center;

            span.title2 {
                height: 0.8rem;
                border-radius: 0.4rem;
                line-height: 0.8rem;
                width: 2.133333rem;
                color: #fff;
                background: var(--themeColor)
            }
        }
    }
}